package cool.collection;


import java.io.Serializable;
import java.util.List;
import java.util.ArrayList;

public  class Demo01 {
    public static void main(String args[]){
        Demo01 d=new Demo01();

        d.setOts("gaogao",0);
        System.out.println((String) d.getOts(0));
    }
   public  Object[] ots=new Object[4];
    public  <E extends Serializable> void setOts(E e, int i){
        ots[i]=e;
    }
    public<E> E getOts(int i){
        return (E) ots[i];
    }
}
class Demo2{
    public static void main(String args[]){
     int a=0;
     System.out.println(a>>1);
        }
    }

